﻿using System;
using System.Collections.Generic;
using System.Text;

namespace BusinessEntity.Assets
{
    /// <summary>
    /// 资产预算表
    /// </summary>
    public class ZC_YS:BaseEntity
    {
        /// <summary>
        /// 会计年度
        /// </summary>
        public String Kjnd { get; set; } = "";
        /// <summary>
        /// 单位代码
        /// </summary>
        public String Dwdm { get; set; }
        /// <summary>
        /// 单位名称
        /// </summary>
        public String Dwmc { get; set; }

        public String Bmdm { get; set; }

        public String Bmmc { get; set; }
        /// <summary>
        /// 单位代码
        /// </summary>
        public String Ysdwdm { get; set; }
        /// <summary>
        /// 单位名称
        /// </summary>
        public String Ysdwmc { get; set; }
        /// <summary>
        /// 预算部门代码
        /// </summary>
        public String Ysbmdm { get; set; }
        /// <summary>
        /// 预算部门名称
        /// </summary>
        public String Ysbmmc { get; set; }
        /// <summary>
        /// 所属部门代码
        /// </summary>
        public String Ssbmdm { get; set; }
        /// <summary>
        /// 所属部门名称
        /// </summary>
        public String Ssbmmc { get; set; }
        /// <summary>
        /// 资产代码
        /// </summary>
        public String Zcdm { get; set; }
        /// <summary>
        /// 资产名称
        /// </summary>
        public String Zcmc { get; set; }

        /// <summary>
        /// 资产类别代码
        /// </summary>
        public String Zclbdm { get; set; }
        /// <summary>
        /// 资产类别名称
        /// </summary>
        public String Zclbmc { get; set; }
        /// <summary>
        /// 规格型号
        /// </summary>
        public String Ggxh { get; set; }

        /// <summary>
        /// 计量单位
        /// </summary>
        public String Jldw { get; set; }

        /// <summary>
        /// 预算总量控制
        /// </summary>
        public Decimal? Yszlkz { get; set; }

        /// <summary>
        /// 预算单价控制
        /// </summary>
        public Decimal? Ysdjkz { get; set; }

        /// <summary>
        /// 预算总价控制
        /// </summary>
        public Decimal? Yszjkz { get; set; }

        /// <summary>
        /// 是否占用
        /// </summary>
        public String Sfzy { get; set; } = "否";

        /// <summary>
        /// 已占用数量
        /// </summary>
        public Decimal? Yzysl { get; set; }

        /// <summary>
        /// 已占用额度
        /// </summary>
        public Decimal? Yzyed { get; set; }

        /// <summary>
        /// 剩余数量
        /// </summary>
        public Decimal? Sysl { get; set; }

        /// <summary>
        /// 剩余额度
        /// </summary>
        public Decimal? Syed { get; set; }

        /// <summary>
        /// 采购方式代码
        /// </summary>
        public String Cgfsdm { get; set; }
        /// <summary>
        /// 采购方式名称
        /// </summary>
        public String Cgfsmc { get; set; }
        /// <summary>
        /// 用途
        /// </summary>
        public String Yt { get; set; }
        /// <summary>
        /// 使用人
        /// </summary>
        public String Syr { get; set; }
        /// <summary>
        /// 单据编号
        /// </summary>
        public String Djbh { get; set; } = "YS" + DateTime.Now.ToString("yyyyMMddHHmmss");
        /// <summary>
        /// 存放地点
        /// </summary>
        public String Cfdd { get; set; }
        /// <summary>
        /// 上传文件
        /// </summary>
        //public FileUploadent File { get; set; }

    }
}
